export class MemberServiceData {
    public static get getAllAccountMembers() {
        return {
            input: 'accountId',
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/members',
            },
        };
    }
    public static get getMembersPaging() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {testData: 'testData'},
                    timeout: 60,
                },
                url: '/accounts/accountId/members',
            },
        };
    }
    public static get getMembersUnGroupPaging() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {testData: 'testData'},
                    timeout: 60,
                },
                url: '/accounts/accountId/groups/members/ungrouped',
            },
        };
    }
    public static get getMembersGroupPaging() {
        return {
            input: {
                accountId: 'accountId',
                groupId: 'groupId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {testData: 'testData'},
                    timeout: 60,
                },
                url: '/accounts/accountId/groups/groupId/members',
            },
        };
    }
    public static get getMeAccountMemberAction() {
        return {
            input: 'accountId',
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/members/me/info',
            },
        };
    }
    public static get shiftAccountMemberActive() {
        return {
            input: {
                accountId: 'accountId',
                memberId: 'memberId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/members/memberId/state',
            },
        };
    }
    public static get searchGroupMember() {
        return {
            input: {
                accountId: 'accountId',
                groupId: 'groupId',
                param: 'param',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url:
                    // tslint:disable-next-line: max-line-length
                    '/accounts/accountId/groups/groupId/members/search?searchParam=param',
            },
        };
    }
    public static get updateAccountMemberRole() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/userRoles/batch',
            },
        };
    }
    public static get addMemberToAccount() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/members',
            },
        };
    }
    public static get getAccountMemberByMemberId() {
        return {
            input: {
                accountId: 'accountId',
                memberId: 'memberId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/members/memberId',
            },
        };
    }
    public static get searchAccountMember() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {testData: 'testData'},
                    timeout: 60,
                },
                url: '/accounts/accountId/members/search',
            },
        };
    }
    public static get deleteAccountMember() {
        return {
            input: {
                accountId: 'accountId',
                memberId: 'memberId',
            },
            output: {
                config: {
                    data: undefined,
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                url: '/accounts/accountId/members/memberId',
            },
        };
    }
    public static get checkMembersEmail() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/emails/check/batch',
            },
        };
    }
    public static get addMultiplyUserByExcel() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/members/batch',
            },
        };
    }
    public static get updateAccountMembers() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/members/batch',
            },
        };
    }
    public static get getProjectMember() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/projects/projectId/members',
            },
        };
    }
    public static get searchProjectMember() {
        return {
            input: {
                accountId: 'accountId',
                groupId: 'groupId',
                param: 'param',
                projectId: 'projectId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url:
                    // tslint:disable-next-line: max-line-length
                    '/accounts/accountId/projects/projectId/groups/groupId/members/search?searchParam=param',
            },
        };
    }
    public static get getProjectMemberOfMe() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/projects/projectId/members/me/info',
            },
        };
    }
    public static get isMeJoinedProject() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/projects/projectId/members/me',
            },
        };
    }
    public static get postMember() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                memberNames: ['memberNames'],
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: ['memberNames'],
                url: '/accounts/accountId/projects/projectId/members',
            },
        };
    }
    public static get addMultiplyProjectUserByExcel() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/projects/projectId/members/batch',
            },
        };
    }
    public static get updateProjectMemberRole() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/projects/projectId/userRoles/batch',
            },
        };
    }
    public static get deleteMember() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                memberId: 'memberId',
            },
            output: {
                config: {
                    data: undefined,
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                url: '/accounts/accountId/projects/projectId/members/memberId',
            },
        };
    }
    public static get deleteMemberBatch() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {
                    data: {testData: 'testData'},
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                url: '/accounts/accountId/projects/projectId/members/batch',
            },
        };
    }
    public static get postMemberAdmin() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                id: 'id',
                roleNames: ['roleNames'],
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {roleNames: ['roleNames']},
                url: '/accounts/accountId/projects/projectId/members/id/roles',
            },
        };
    }
    public static get getMemberInfo() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                id: 'id',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/projects/projectId/members/id',
            },
        };
    }
    public static get resetUserPassword() {
        return {
            input: {
                accountId: 'accountId',
                memberId: 'memberId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/members/memberId',
            },
        };
    }
}
